package com.xuecheng.api.teaching;

import com.xuecheng.api.teaching.model.dto.CourseWorkRecDTO;
import com.xuecheng.api.teaching.model.dto.CourseWorkRecordDTO;
import com.xuecheng.api.teaching.model.dto.WorkRecordDTO;
import com.xuecheng.api.teaching.model.vo.WorkRecordVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author: NFY
 * @date: 2021/4/20
 * @Description:
 */
@Api(value = "作业批阅管理")
public interface WorkRecordApi {



    @ApiOperation(value = "根据作业id查询作业批阅详情")
    CourseWorkRecordDTO queryCourseWorkRecById(@PathVariable Long courseWorkId);


    @ApiOperation(value = "作业批阅")
    WorkRecordDTO correctionCourseWork(@RequestBody WorkRecordVO workRecordVO);

}
